<?php
/**
 * 
 * Database configs
 */

$_configuration["db_host"] = "aductt.sql.free.fr";
$_configuration["db_dbname"] = "aductt";
$_configuration["db_username"] = "aductt"; 
$_configuration["db_password"] = "phepla272";

/**
 * 
 * Define all database configs
 */

DEFINE ( 'DB_HOST', $_configuration["db_host"] );
DEFINE ( 'DB_DBNAME', $_configuration["db_dbname"] );
DEFINE ( 'DB_USERNAME', $_configuration["db_username"] );
DEFINE ( 'DB_PASSWORD', $_configuration["db_password"] );



/**
 * 
 * Server configs
 */

//$_configuration["root_sys"] = $_SERVER ['DOCUMENT_ROOT'] . 'aduc272/';
//$_configuration["root_web"] = "http://192.168.1.23:800/aduc272/";
$_configuration["root_sys"] = $_SERVER ['DOCUMENT_ROOT'] . '/';
$_configuration["root_web"] = "http://aductt.free.fr/";

$_configuration["foreverpo_path"] =  $_configuration["root_sys"]."foreverpo/";

$_configuration["configs_path"] = $_configuration["root_sys"]."configs/";
$_configuration["model_path"] = $_configuration["root_sys"]."model/";
$_configuration["view_path"] = $_configuration["root_sys"]."view/";
$_configuration["w3c_path"] = $_configuration["root_web"]."w3c/";

$_configuration["css_path"] = $_configuration["w3c_path"]."css/";
$_configuration["javascript_path"] = $_configuration["w3c_path"]."javascript/";


/**
 * 
 * Define all server configs
 */

DEFINE("ROOT_SYS", $_configuration["root_sys"]);
DEFINE("ROOT_WEB", $_configuration["root_web"]);
DEFINE("FOREVERPO_PATH", $_configuration["foreverpo_path"]);
DEFINE("CONFIGS_PATH", $_configuration["configs_path"]);
DEFINE("MODEL_PATH", $_configuration["model_path"]);
DEFINE("VIEW_PATH", $_configuration["view_path"]);
DEFINE("W3C_PATH", $_configuration["w3c_path"]);
DEFINE("CSS_PATH", $_configuration["css_path"]);
DEFINE("JAVASCRIPT_PATH", $_configuration["javascript_path"]);
?>